# Created by: Olivier Duchateau
# $FreeBSD: head/x11-toolkits/granite/Makefile 355716 2014-05-29 17:26:42Z olivierd $
#

PORTNAME=	granite
PORTVERSION=	0.3.0
CATEGORIES=	x11-toolkits
MASTER_SITES=	https://launchpadlibrarian.net/176306383/ \
	https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION:R}/+download/

MAINTAINER=	olivierd@FreeBSD.org
COMMENT=	Extensions of Gtk+ toolkit

LICENSE=	LGPL3
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	valac:${PORTSDIR}/lang/vala
LIB_DEPENDS=	libgee-0.8.so:${PORTSDIR}/devel/libgee
RUN_DEPENDS=	contractor:${PORTSDIR}/sysutils/contractor

USE_GCC=	yes
USES=	cmake pkgconfig gettext
USE_GNOME=	glib20 gtk30 introspection:build
INSTALLS_ICONS=	yes
USE_LDCONFIG=	yes

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgranite.so

.include <bsd.port.mk>
